package by.averianov.discounta.dataaccess;

import java.util.List;

import javax.persistence.metamodel.SingularAttribute;

import by.averianov.discounta.datamodel.Product;

public interface ProductDao extends AbstractDao<Long, Product> {

	Long getCountNotNull();
	
	List<Product> getAllNotNull(SingularAttribute<Product, ?> attr, boolean ascending, int startRecord, int pageSize);

}
